@CHARSET "UTF-8";

html {
	background: url("../images/laevad.jpg") no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

div {
	border: 0px solid black;
}

#head {
	margin-top: 10px;
	margin-bottom: 10px;
	overflow: auto;
}

#main {
	min-width: 1000px;
}


#gamesList, #lobbyInputs{
	margin-left:auto;
	margin-right:auto;
	width:300px;
}

#gamesList{
	height:100px;
	overflow:auto;
	background-color:blue;
}

.gameListItem:hover{
	background-color:red;
	cursor:pointer;
}

.gameListItem.selected{
	background-color:red;
}

#main,#center,.jaotis {
	overflow: auto;
}

#center {
	text-align: center;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

.w40 {
	width: 40%;
}

#vahemees {
	width: 20%;
	text-align: center;
}

.overlay {
	background: none repeat scroll 0 0 #808080;	
	display:none;
	height: 100%;
	left: 0;
	right: 0;
	opacity: 0.5;
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: 90000 !important;
}

.kuubik {
	width: 30px;
	height: 30px;
	float: left;
	border: 1px solid black;
	border-collapse: collapse;
	text-align: center;
	overflow: visible;
}

.ship{
	position:relative;
}

.fieldHead div,.fieldLetters div {
	background: #4D4DA6;
}

#playerField {
	margin-left: auto;
	margin-right: 0;
}

#enemyField {
	margin-left: 0;
	margin-right: auto;
}

#enemyField .field .kuubik {
	opacity: 0.5;
	background-color: gray;
}

#enemyField .field .kuubik:hover {
	opacity: 0.5;
	background-color: red;
}

.playField {
	display: inline-block;
}

.fieldLetters {
	width: 32px;
	border: 0px;
	overflow: auto;
}

.field {
	border: 0px;
	width: 320px;
	overflow: auto;
	background-image: url("../graphics/water.gif");
}

.fieldHead {
	border: 0px;
	overflow: auto;
}

#scroll {
	height: 120px;
	overflow-y: scroll;
}

.chatArea {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	background: white;
	margin-top: 40px;
}

.transparentBackground {
	opacity: 0.7;
}

#infoText {
	background-color: #8AC1D4;
	margin-top: 5px;
}

#chatInput {
	width: 99%;
}

.button {
	padding: 3px;
	margin: 3px;
	border: 0px;
	background: #DEB887;
	-moz-border-radius: 10px;
	border-radius: 10px;
	cursor: pointer;
}

#mainbutton {
	width: 100px;
	height: 100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 130px;
	border-radius: 100%;
	-moz-border-radius: 100%;
	-webkit-border-radius: 100%;
	-khtml-border-radius: 100%;
	border: #ccc 4px double;
	font-size: 20px;
	color: #888;
	line-height: 100px;
	text-shadow: 0 1px 0 #fff;
	text-decoration: none;
	text-align: center;
	background: #000000;
	cursor: pointer;
}

#mainbutton:hover {
	border: #bbb 4px double;
	color: #aaa;
	background: #000029;
}

.box {
	position: fixed;
	top: -300px;
	left: 30%;
	right: 30%;
	background-color: #fff;
	color: #7F7F7F;
	padding: 20px;
	border: 2px solid #ccc;
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	-khtml-border-radius: 20px;
	-moz-box-shadow: 0 1px 5px #333;
	-webkit-box-shadow: 0 1px 5px #333;
	z-index: 100000;
}

a.boxclose {
	float: right;
	width: 26px;
	height: 26px;
	background: transparent url(../images/cancel.png) repeat top left;
	margin-top: -30px;
	margin-right: -30px;
	cursor: pointer;
}

.box h1 {
	border-bottom: 1px dashed #7F7F7F;
	margin: -20px -20px 0px -20px;
	padding: 10px;
	background-color: #FFEFEF;
	color: #EF7777;
	-moz-border-radius: 20px 20px 0px 0px;
	-webkit-border-top-left-radius: 20px;
	-webkit-border-top-right-radius: 20px;
	-khtml-border-top-left-radius: 20px;
	-khtml-border-top-right-radius: 20px;
}

